package org.itboys.web;

import org.itboys.framework.spring.controller.BaseController;
import org.itboys.mobile.service.KitchenDesktopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * 作者：jiangxiong
 * 日期：2017年5月8日
 * 联系方式 ：empty90911@126.com
 * 描述：圣代_后台首页_controller
 */
@Controller
@RequestMapping("/sunday/web/desktop")
public class SundayDesktopController extends BaseController {

    @Autowired
    private KitchenDesktopService desktopService;

    /**
     * 质押物  主页
     * @param request
     * @param model
     * @return
     */
    @RequestMapping("/index" )
    public  String index(HttpServletRequest request,
                           Model model){
     //   Map<String,Object> result=desktopService.getDesktopDate();
   //     model.addAttribute("result",result);
       return "/kitchen/desktop/index";
    }


}
